export default [
    {
        name : "cFunding",
        path : "/cfunding",
        component : (()=>import("../../views/cFunding.vue")),
        meta : {title : "秀动 - 众筹"},
    },
    {
        name : "cFunDetails",
        path : "/cfdetails",
        component : (()=>import("../../components/cFunding/cFunDetails.vue")),
        meta : {title : "秀动 - 众筹"},
        beforeEnter(to,from,next){
            if(from.path === '/login'){
               next('/cFunding')
            }
            next()
        }
    },
    {
        name : "cfshopping",
        path : "/cfshopping",
        component : (()=>import("../../components/cFunding/cfshopping.vue")),
        meta : {
            title : "秀动 - 众筹",
            token : true
        },
    },
    {
        name : "settlement",
        path : "/settlement",
        component : (()=>import("../../components/cFunding/settlement.vue")),
        meta : {
            title : "秀动 - 众筹",
            token : true
        },
    }
]